package org.supsi.skarabee.json;

import org.supsi.skarabee.model.NodeModel;


public class JsonHandler {
	
	private static final JsonHandler instance = new JsonHandler();
	private NodeModel nodeModel;
	
	private JsonHandler(){
		nodeModel = NodeModel.getInstance();
	}
	
	public static JsonHandler getInstance(){
		return instance;
	}
	
	
	public void handleJson(String jsonString){
		//nodeModel.
		
		
	}

	
    /*jsonData = {
            "node": {
                "config" : self.get_state(),
                "status" : self.is_node_active(),
                "id" : self.get_local_id(),
                "voltage" : [self.get_voltage('P1'), self.get_voltage('P2'), self.get_voltage('P3'), self.get_voltage('P4')],
                "id" : [self.get_device_id('P1'), self.get_device_id('P2'), self.get_device_id('P3'), self.get_device_id('P4')],
                "ampere" : [self.get_current('P1'), self.get_current('P2'), self.get_current('P3'), self.get_current('P4')],
                "device" : [self.get_profile('P1'), self.get_profile('P2'), self.get_profile('P3'), self.get_profile('P4')],
                "connected" : [self.is_connected('P1'), self.is_connected('P2'), self.is_connected('P3'), self.is_connected('P4')],
                "annotation" : ["note", "note", "note", "note"]
            }
        }*/
	
	
	
}
